﻿using System.Collections.Generic;
using DataProvider.Model;

namespace DataProvider
{
    public class ManInfoProvider
    {
        public static List<ManInfo> Select(int dataCount)
        {
            List<ManInfo> lsManInfo = new List<ManInfo>();
            for (int i = 0; i < dataCount; i++)
            {
                ManInfo manInfo = new ManInfo();
                manInfo.Id = (i + 1);
                manInfo.Age = 15 + (i + 1);
                manInfo.Name = "xiaoseg" + (i + 1);
                manInfo.Addr = "北京市海淀区上地十街" + (i + 1) + "号";
                manInfo.QqNum = "51481115" + (i + 1);
                manInfo.Intro = "第" + (i + 1) + "名";
                lsManInfo.Add(manInfo);
            }
            return lsManInfo;
        }

    }
}